<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <title></title>
    <meta charset="utf-8" />
    <style>
        .fileinput-button {
            position: relative;
            display: inline-block;
            background: #9d1ccd;
            border: 1px solid #99D3F5;
            border-radius: 4px;
            padding: 4px 12px;
            overflow: hidden;
            color: white;
            text-decoration: none;
            text-indent: 0;
            line-height: 20px;
        }

            .fileinput-button input {
                position: absolute;
                right: 0px;
                top: 0px;
                opacity: 0;
                -ms-filter: 'alpha(opacity=0)';
                font-size: 200px;
                cursor: pointer;
            }
    </style>
</head>
<body>
    <div style="text-align:center">
        <span class="fileinput-button">
            <span>上传</span>
            <input type="file" />
        </span>
    </div>
</body>
</html>